#pragma once

#include <string>
#include <vector>
#include "Local.h"
#include "Utils.h"


using namespace std;

class ConfigFile 
{
public:
	//Memory Locations
	static bool Loaded;
	static int Encrypt;
	static int DecryptAddress;
	static int PID;
	static int MaxHP;
	static int MaxMP;
	static int Level;
	static int CurrentHP; 	
	static int CurrentMP; 
	static int CurrentXP; 
	static int InGame; 
	static int Page; 
	static int HPPercent; 
	static int MPPercent; 
	static int XPPercent; 
	static int FPS; 
	static int LocationX; 
	static int LocationY; 
	static int Money; 
	static int TimeOfDay;
	static int Server;
	static int InChat;
	static int View;
	
	//Input Values
	static int MapInput;
	static int StatsDisplayInput;
	static int LevelCalcInput;
	static int GoldCalcInput;
	static int FastClickInput;
	static int ItemSnifferInput;
	static int InfoBarDisplay;
	static int ItemCompass;


	//Settings
	static int InfoBarOpacity;
	static int MapOpacity;
	static int StatsOpacity;
	static bool RealTimeInfo;

	static void Load();

private:
	static void LoadMemoryLocations(const char *directory);
	static void LoadInputSettings(const char *directory);
	static void LoadSettings(const char *directory);
};

